﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace HNQXYJ.DAL
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {

            SocketListen.StartListen("127.0.0.1",8888);
           // string phone = "18703642841";
           //string status = "在线";
           // int res = SocketListen.UpdateTerminalStatus(phone, status);
            this.Label1.Text = "启动成功";
        }

        protected void Button2_Click(object sender, EventArgs e)
        {
            //int res= SocketListen.InsertIntoHistoryInfor("15649641028","测试发送信息","失败");
            //this.Label1.Text = res.ToString();
        }
    }
}